import { InjectableObject } from "../../inject";

export default abstract class BaseModel extends InjectableObject {
    attach(): void {
        this.onAttach();
    }

    detach(): void {
        this.onDetach();
    }

    abstract onAttach(): void;
    abstract onDetach(): void;

}